﻿
using HBase;
using System;
namespace hCommand {
    public abstract class AbsCoreStockDetail :BaseEntity, ICloneable {
        public long stockId {
            get; set;
        }
        public DateTime changeTime {
            get; set;
        }
        public long rLocId {
            get; set;
        }
        public long itemId {
            get; set;
        }
        public string itemCode {
            get; set;
        }
        /// <summary>
        /// 库外0，入库中1，库存2，出库中3,移库中4,出库完成-1
        /// </summary>
        public int storeStatus {
            get; set;
        }



        public int countDb {//数量
            get; set;
        }
        public string barCode {
            get; set;
        }



        public DateTime? inTime {
            get; set;
        }
        public DateTime? outTime {
            get; set;
        }


    }
    public enum StockDetailStatus {
        库外 = 2,
        移库中 = 5,
        待盘库 = 7, //盘完 变移库中
        库存 = 9,
        删除 = -1,
        出库完成 = -2,
        盘亏 = -3,
    }
}
